<h1>Carts List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Montantht</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($cart as $article): ?>
    <tr>
      <td><a href="<?php echo url_for('cart/show?id='.$article->getId()) ?>"><?php echo $article->getId() ?></a></td>
      <td><?php echo $article->getMontantht() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>



  <a href="<?php echo url_for('cart/new') ?>">New</a>
